body {
    font-family: 'Helvetica Neue', Segoe UI, "Microsoft YaHei", sans-serif;
    font-size: 12px;
    color: #666;
}

/* Widgets */
.widget-box {
    background: none repeat scroll 0 0 #F9F9F9;
    border-left: 1px solid #CDCDCD;
    border-top: 1px solid #CDCDCD;
    border-right: 1px solid #CDCDCD;
    clear: both;
    margin-top: 16px;
    margin-bottom: 16px;
    position: relative;
}

.widget-box.widget-calendar, .widget-box.widget-chat {
    overflow: hidden !important;
}

.accordion .widget-box {
    margin-top: -2px;
    margin-bottom: 0;
    border-radius: 0;
}

.widget-box.widget-plain {
    background: transparent;
    border: none;
    margin-top: 0;
    margin-bottom: 0;
}

.widget-title, .modal-header, .table th, div.dataTables_wrapper .ui-widget-header {
    background: #efefef;
    border-bottom: 1px solid #CDCDCD;
    height: 36px;
}

.widget-title .nav-tabs {
    border-bottom: 0 none;
}

.widget-title .nav-tabs li a {
    border-bottom: medium none !important;
    border-left: 1px solid #DDDDDD;
    border-radius: 0 0 0 0;
    border-right: 1px solid #DDDDDD;
    border-top: medium none;
    color: #999999;
    margin: 0;
    outline: medium none;
    padding: 9px 10px 8px;
    font-weight: bold;
    text-shadow: 0 1px 0 #FFFFFF;
}

.widget-title .nav-tabs li:first-child a {
    border-left: medium none !important;
}

.widget-title .nav-tabs li a:hover {
    background-color: transparent !important;
    border-color: #D6D6D6;
    border-width: 0 1px;
    color: #2b2b2b;
}

.widget-title .nav-tabs li.active a {
    background-color: #F9F9F9 !important;
    color: #444444;
}

.widget-title span.icon {
    padding: 9px 10px 7px 11px;
    float: left;
    border-right: 1px solid #dadada;
}

.widget-title .logo svg {
    width: 1em;
    height: 1em;
    fill: #666;
}

.widget-title .close-btn {
    position: absolute;
    right: 0;
    top: 0;
}

.widget-title span.icon .widget-close {
    transition: all .5s;
    cursor: pointer;
}

.widget-title span.icon .widget-close:hover {
    color: red;
    transform: rotate(180deg);
}

.widget-title h5 {
    color: #666;
    float: left;
    font-size: 12px;
    font-weight: bold;
    padding: 12px;
    line-height: 12px;
    margin: 0;
}

.widget-title .buttons {
    float: right;
    margin: 8px 10px 0 0;
}

.widget-title .label {
    padding: 3px 5px 2px;
    float: right;
    margin: 9px 11px 0 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) inset, 0 1px 0 #ffffff;
}

.widget-calendar .widget-title .label {
    margin-right: 190px;
}

.widget-content {
    padding: 15px;
    border-bottom: 1px solid #cdcdcd;
}

.widget-content .msg {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.widget-content .btns {
    margin: 15px -15px -15px -15px;
    border-top: 1px solid #CDCDCD;
}

.widget-content .msg .icon {
    font-size: 2.5em;
    color: #416fb6;
    margin: 0 15px 0 5px;
}

.widget-content .msg .msg-content {
    margin: auto 0;
    word-wrap: break-word;
    width: 100%;
}

.widget-box.widget-plain .widget-content {
    padding: 12px 0 0;
}

.widget-box.collapsible .collapse.in .widget-content {
    border-bottom: 1px solid #CDCDCD;
}

.widget-box .btns {
    display: flex;
    justify-content: space-around;
    background-color: #efefef;
    padding: 5px;
}

div.ngdialog.ngdialog-theme-default .ngdialog-content {
    padding: 2em;
    box-shadow: rgba(0, 0, 0, 0.2) 0 7px 8px -4px, rgba(0, 0, 0, 0.137255) 0 13px 19px 2px, rgba(0, 0, 0, 0.117647) 0 5px 24px 4px;
}

div.ngdialog.ngdialog-theme-default .ngdialog-content .dialog-title h3 {
    margin-top: 0;
}

div.ngdialog.ngdialog-theme-default .ngdialog-content .dialog-content {
    margin-top: 1em;
    margin-bottom: 2em;
}

div.ngdialog.ngdialog-theme-default .ngdialog-content .dialog-actions {
    margin-bottom: -1.5em;
    display: flex;
    flex-flow: row;
}

div.ngdialog.ngdialog-theme-default .ngdialog-content .dialog-actions button {
    margin:5px;
    border: none;
    box-shadow: 0 0 3px #c0c0c0;
    width: 100%;
}

div.ngdialog.ngdialog-theme-default .ngdialog-content .dialog-actions button:first-child {
    margin-left: 0;
}

div.ngdialog.ngdialog-theme-default .ngdialog-content .dialog-actions button:last-child {
    margin-right: 0;
}

div.ngdialog .ngdialog-overlay {
    background: rgba(0, 0, 0, .3);
}

/* Misc */
.nopadding {
    padding: 0 !important;
}

.nopadding .table {
    margin-bottom: 0;
}

.nopadding .table-bordered {
    border: 0;
}

/* Tables */
span.icon .checker {
    margin-top: -5px;
    margin-right: 0;
}

.table th {
    height: auto;
    font-size: 10px;
    padding: 5px 10px 2px;
    border-bottom: 0;
    text-align: center;
    color: #666666;
}

.table.with-check tr th:first-child, .table.with-check tr td:first-child {
    width: 10px;
}

.table.with-check tr th:first-child i {
    margin-top: -2px;
    opacity: 0.6;
}

.table.with-check tr td:first-child .checker {
    margin-right: 0;
}

.table tr.checked td {
    background-color: #FFFFE3 !important;
}

/* Tooltip */
.form-horizontal .has-error .tooltip.top .tooltip-arrow {
    border-top-color: #f2dede;
}

.form-horizontal .has-error .tooltip.right .tooltip-arrow {
    border-right-color: #f2dede;
}

.form-horizontal .has-error .tooltip.bottom .tooltip-arrow {
    border-bottom-color: #f2dede;
}

.form-horizontal .has-error .tooltip.left .tooltip-arrow {
    border-left-color: #f2dede;
}

.form-horizontal .has-error .tooltip .tooltip-inner {
    background-color: #f2dede;
    color: #b94a48;
}

.control-label.alignment {
    max-width: 85px;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    justify-content: space-between;
}

.control-label.alignment::after {
    content: ':';
    position: absolute;
    right: 8px;
}

.controls {
    padding-left: 0;
}

/* button */
.btn,
.btn:focus,
.btn:checked {
    outline: none;
}

/* a tag*/
a.hover {
    position: relative;
    outline: none;
    background: 0 0;
    color: #4183c4;
    transition: color 0.2s;
    text-decoration: none;
}

a.hover:hover {
    color: #1e70bf;
    outline: none;
    text-decoration: none;
}

a.hover::before {
    position: absolute;
    top: auto;
    bottom: 1px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #4183C4;
    content: '';
    -webkit-transition: all 0.2s;
    -webkit-backface-visibility: hidden;
    transition: all 0.2s;
    backface-visibility: hidden;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
}

a.hover:hover::before {
    background-color: #2C76BF;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

.inline.fields {
    min-width: 15px;
    position: relative;
    display: inline-block;
}

.inline.fields .field {
    display: inline-block;
    margin: 0 5px;
}

.inline.fields .field:first-child {
    margin-left: 0;
}

/* Hidden */

.hidden.transition {
    display: none;
    visibility: hidden;
}

/* Visible */

.visible.transition {
    display: block !important;
    visibility: visible !important;
    /*  backface-visibility: @backfaceVisibility;
    transform: @use3DAcceleration;*/
}

/* Disabled */

.disabled.transition {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}